package org.blogwu.learn.designpattern.chapter14.v3;

/**
 * https://blog.csdn.net/lmb55/article/details/51039781
 */
public abstract class Company {

    protected String name;

    public Company(String name) {
        this.name = name;
    }

    public abstract void add(Company company);//add

    public abstract void remove(Company company);//remove

    public abstract void display(int depth);//display

    public abstract void lineofDuty();//line of duty

}